#include <QtGui/QApplication>
#include "widget.h"
#include "boxserver.h"

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

#if 0x1
	BoxServer server;
	if(!server.listen(QHostAddress::LocalHost, 8080))
	{
		qDebug() << "listen fail!";
		exit(0);
	}
#endif

	Widget w;
    w.show();

    return a.exec();
}
